package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 特殊事件表
 * </p>
 *
 * @author zqb
 * @date 2024-07-22 16:36:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "特殊事件")
public class BPatEventSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @Schema(description = "")
    @NotEmpty(message = "请填写")
    @Size(max = 64, message = "长度不能超过{max}")
    private String patientIdent;
    /**
     * 
     */
    @Schema(description = "")
    @Size(max = 64, message = "长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 事件发生时间
     */
    @Schema(description = "事件发生时间")
    @NotNull(message = "请填写事件发生时间")
    private LocalDateTime eventTime;
    /**
     * 事件名称
     */
    @Schema(description = "事件名称")
    @NotEmpty(message = "请填写事件名称")
    @Size(max = 64, message = "事件名称长度不能超过{max}")
    private String eventName;
    /**
     * 是否删除
     */
    @Schema(description = "是否删除")
    @NotNull(message = "请填写是否删除")
    private Integer isDeleted;



}
